package com.vcourse.service.admin.service;

import com.vcourse.service.admin.entity.RolePermission;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 角色权限 服务类
 * </p>
 *
 * @author Zengsh123
 * @since 2020-06-15
 */
public interface RolePermissionService extends IService<RolePermission> {

    /**
     * 给角色分配权限
     * @param roleId 角色id
     * @param permissionId 权限（菜单）id
     */
    void saveRolePermissionRelationShip(String roleId, String[] permissionId);
}
